home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
- # This is run at multi-user startup.
- #
- # Edit it to suit your taste.
- #
- # Really, some of this stuff should be in rc.local which should be called
- # from this script.
- #
- # S.R.Usher 29/12/91
- #
- PATH=/bin:/usr/ucb:/usr/bin ; export PATH
-
- /bin/date
- if [ -f /etc/single ] ; then
- /bin/rm /etc/single
- echo "Multiuser reboot in progress..."
- else
- echo "Automatic reboot in progress..."
- fi
-
- # Clear the /tmp directory.
-
- /bin/rm /tmp/* > /dev/null 2>&1 ; echo "clearing /tmp"
-
- echo -n "standard daemons:"
-
- # Start up the update daemon. (This may be useful if there are any file systems
- # which may need sync()ing in the future. You never know, someone might write
- # one!)
-
- if [ -f /usr/lib/update ] ; then
- /usr/lib/update > /dev/null 2>&1 &
- echo -n " update"
- fi
-
- if [ -f /etc/cron ] ; then
- /etc/cron > /dev/null 2>&1 &
- echo -n " cron"
- fi
-
- echo "."
-
- /bin/sh /etc/rc.local
-
- /bin/date
-
- exit
-